package com.qnnu.studenttravelsystem.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhongge
 * @since 2025-11-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("holiday_publish")
public class HolidayPublish implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 假期名称（来自dict_data）
     */
    private String holidayName;

    /**
     * 放假开始时间
     */
    private LocalDate startDate;

    /**
     * 放假结束时间
     */
    private LocalDate endDate;

    /**
     * 登记开始时间
     */
    private LocalDateTime registerStart;

    /**
     * 登记截止时间
     */
    private LocalDateTime registerEnd;

    /**
     * 发布辅导员
     */
    private Long counselorId;

    /**
     * 0-待发布 1-进行中 2-已完成
     */
    private Integer status;

    private LocalDateTime createdTime;


}
